<template>
  <div class="content-wrapper">
    <!-- <div class="content-header"></div>
       <div class="title">
      <div>考核统计</div>
    </div>
     <el-divider></el-divider> -->
    <div class="content-container">
      <el-form :inline="true" :model="listQuery" class="filter-container">
        <el-form-item label="课程名称">
          <el-input
            type="text"
            size="mini"
            v-model="listQuery.examineeUserName"
          ></el-input>
        </el-form-item>
        <el-form-item label="课程类型">
          <el-select size="mini" v-model="listQuery.examinationUserGroupId">
            <el-option
              v-for="item in userGroupOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="学员">
          <el-input
            type="text"
            size="mini"
            v-model="listQuery.examineeUserName"
          ></el-input>
        </el-form-item>
        <el-form-item>
          <el-button
            class="filter-item"
            size="small"
            round
            type="primary"
            icon="el-icon-search"
            @click="handleFilter"
          >
            搜索
          </el-button>
          <el-button
            class="filter-item"
            size="small"
            round
            icon="el-icon-download"
            @click="handleFilter"
          >
            导出
          </el-button>
        </el-form-item>
      </el-form>
      <el-table v-loading="listLoading" :data="list" highlight-current-row>
        <el-table-column type="selection" width="55"> </el-table-column>
        <el-table-column label="课程名称" prop="examinationPaperName" min-width="200px" />
        <el-table-column label="课程类型" prop="score" width="100px" />
        <el-table-column label="学员" prop="score" width="100px" />
        <el-table-column label="课程时长" prop="score" width="100px" />
        <el-table-column label="学习时长" prop="score" width="100px" />
        <el-table-column label="学习时间" prop="createTime" width="160px" />
        <el-table-column
          label="操作"
          align="center"
          width="150px"
          fixed="right"
        >
          <template slot-scope="{ row, $index }">
            <el-dropdown trigger="click" class="filter-item">
              <el-button type="text" class="el-icon-more" />
              <el-dropdown-menu slot="dropdown" class="user-dropdown">
                <el-dropdown-item>查看</el-dropdown-item>
              </el-dropdown-menu>
            </el-dropdown>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>   

<script>
export default {
  data() {
    return {
      paperOptions: [],
      userGroupOptions: [],
      passFlagOptions: [],
      listQuery: {
        examinationPaperId: null,
        examineeUserGroupId: null,
        examineeUserName: null,
        passFlag: null
      },
      listLoading: false,
      list: [{}]
    }
  },
  methods: {
    handleFilter() {}
  }
}
</script>